project(event_framework)

cmake_minimum_required(VERSION 2.8)

set(CAMKE_CXX_FLAGS -std=c++11 -lpthread -g -fPIC)

file(GLOB_RECURSE ALL_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
network/*
framework/*
)
MESSAGE("====${ALL_SRCS}")
include_directories(BEFORE
common
framework
reactor
)

add_library(${PROJECT_NAME} SHARED ${ALL_SRCS})
install(TARGETS ${PROJECT_NAME} DESTINATION lib)
